projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7f9f8f
)
popover: Stop needles allocations
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 23 May 2019 00:18:12 +0000
(
00:18
+0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 May 2019 20:25:17 +0000
(20:25 +0000)
We were queuing an allocation whenever
the popover is flipped over, unnecessarily,
since we don't change the size of the surface.
This was showing up as popovers being invisible
when flipped over, under X.
gtk/gtkpopover.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpopover.c
b/gtk/gtkpopover.c
index 73ff0aa559047edebdf713520f72622b4d686a17..f41a60f787e2d1f096cdcf973ed51e8ff4116ae2 100644
(file)
--- a/
gtk/gtkpopover.c
+++ b/
gtk/gtkpopover.c
@@
-416,9
+416,6
@@
surface_moved_to_rect (GdkSurface *surface,
g_assert_not_reached ();
break;
}
-
- if (priv->final_position != priv->position)
- gtk_widget_queue_allocate (widget);
}
static void